package com.sanji.sjmallmodule.order;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by zsf on 17-1-3.
 */

public class ShopcarGroupBean implements Serializable {

    private boolean isAllSelected;

    private String goodsSpec;

    private List<ShopcarChildBean> mDestList = new ArrayList<>();

    private boolean isAllDelete;



    public boolean isAllSelected() {
        return isAllSelected;
    }

    public void setAllSelected(boolean allSelected) {
        isAllSelected = allSelected;
    }

    public String getGoodsSpec() {
        return goodsSpec;
    }

    public void setGoodsSpec(String goodsSpec) {
        this.goodsSpec = goodsSpec;
    }

    public List<ShopcarChildBean> getDestList() {
        return mDestList;
    }

    public void setDestList(List<ShopcarChildBean> destList) {
        mDestList = destList;
    }

    public void toggle(){
        this.isAllSelected = !this.isAllSelected;
    }

    public boolean isAllDelete() {
        return isAllDelete;
    }

    public void setAllDelete(boolean allDelete) {
        isAllDelete = allDelete;
    }
}
